<template>
  <div class="page-box-row-left">
    <RPIframe :src="src" />
  </div>
</template>
<script>
export default {
  data() {
    return {
      src: ''
    }
  },
  watch: {
    $route: {
      handler: function(val) {
        if (val.fullPath == '/form-list') {
          this.src = '/static/modeler/#/forms'
        } else {
          this.src = '/static/modeler/#/decision-tables'
        }
      },
      deep: true,
      immediate: true
    }
  }
}
</script>
